package org.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.domain.Sell;
import org.example.mapper.SellMapper;
import org.example.service.SellService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【take_sell】的数据库操作Service实现
 * @createDate 2024-06-24 14:06:25
 */
@Service
public class SellServiceImpl extends ServiceImpl<SellMapper, Sell>
        implements SellService {

    @Override
    public List<Sell> getSellById(Sell sell) {
        return baseMapper.getSellById(sell);
    }
    @Override
    public List<Sell> alllist(Integer userId,Integer stockId) {
        return baseMapper.alllist(userId,stockId);
    }

    @Override
    public Sell getsellByuuid(String volumeCode) {
        return baseMapper.getsellByuuid(volumeCode);
    }

}




